package com.invengo.module_check.data.api;



import com.invengo.library_db.entity.module_check.offline.UserBean;

import io.reactivex.Observable;
import me.goldze.mvvmhabit.http.BaseBean;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface CommonApi {
    /**
     * 检查登录
     *
     * @param requestBody 请求主体
     * @return {@link Observable}<{@link BaseBean}<{@link UserBean}>>
     */
    @POST("/api/Inventory/CheckLogin")
    Observable<BaseBean<UserBean>> checkLogin(@Body RequestBody requestBody);


}
